<div class="main-title main-title-with-tabs clearfix">
    <h1><?php echo $user->name; ?></h1>
    <div class="main-title-tabs">
		<?php
		$this->widget('zii.widgets.CMenu', array(
			'id' => 'admin-agency-menu',
			'items' => array(
				array(
					'label' => 'Account Details',
					'url' => array('users/update','id'=>$user->id),
					'visible' => true,
					'active' => $this->action->id == 'update'
				),
				array(
					'label' => 'Training Information',
					'url' => array('users/traininginfo','id'=>$user->id),
					'visible' => true,
					'active' => $this->action->id == 'traininginfo'
				),
				array(
					'label' => 'Bank Information',
					'url' => array('users/bankinfo','id'=>$user->id),
					'visible' => true,
					'active' => $this->action->id == 'bankinfo'
				),
				array(
					'label' => 'Reset Password',
					'url' => array('users/resetpw','id'=>$user->id),
					'visible' => true,
					'active' => $this->action->id == 'resetpw'
				),
				array(
					'label' => 'Commission',
					'url' => array('users/commission', 'id'=>$user->id),
					'visible' => true,
					'active' => $this->action->id == 'commission'
				),
			),
			'encodeLabel' => false,
			'htmlOptions' => array(
				'class' => '',
			),
		));
		?>
    </div>
</div>